package com.killer.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("message_item")
public class Message implements Serializable {

    @TableId
    private Long id;

    @TableField("status")
    private Integer status;

    @TableField("task_process")
    private Double task_process;

    @TableField("task_startTime")
    private Timestamp task_startTime;

    @TableField("task_endTime")
    private Timestamp task_endTime;

    @TableField("message_content")
    private String message_content;

    @TableField("is_ack")
    private Integer isAck;

    @TableField("is_consumer")
    private Integer isConsumer;

    @TableField("retryTimes")
    private Integer retryTimes;

    @TableField("file_name")
    private String fileName;

    @TableField("file_url")
    private String fileUrl;

    @TableField("version")
    private Integer version;

    @TableField("createTime")
    private Date createTime;

    @TableField("updateTime")
    private Date updateTime;



}
